#ifndef _TIMER_H_
#define _TIMER_H_

class CTimer
{
private:
	static u32 m_lastTime;
	static u32 m_firstTime;
	static u32 m_frameTime;
	static u32 m_fpsx10;
	static u32 m_nrFrames;
protected:
public:
	static void init();
	static void update();
	
	static u32 getCurrentTime();
	static u32 getFrameTime();
	static u32 getFPSx10();
	
	static void limit(int ms);
	
};

#endif //_TIMER_H_